![]() |
YNQ
YNQ-1.5.1
|
Data Structures | |
| struct | CMCodepage |
Functions | |
| NQ_BOOL | cmCodepageAdd (const CMCodepage *codePage) |
| NQ_BOOL | cmCodepageRemove (const CMCodepage *codePage) |
| void | cmWideCharToMultiByte (NQ_CHAR *strMultiByte, const NQ_WCHAR *strWideChar) |
| void | cmMultiByteToWideChar (NQ_WCHAR *strWideChar, const NQ_CHAR *strMultiByte) |
| NQ_BOOL cmCodepageAdd | ( | const CMCodepage * | codePage | ) |
This function installs code page for another language.
Code page is identified by the 'id' value of its descriptor. Duplicate installation overwrite the previous one.
Once successfully installed, the code page becomes available by its 'id' number through the udGetCodePage() function call.
This function may be used for one the following purposes:
| codePage | Pointer to codepage descriptor |
| NQ_BOOL cmCodepageRemove | ( | const CMCodepage * | codePage | ) |
This function removes code page.
This call will either remove a code page previously installed by calling cmCodepageAdd() or it may remove a a pre-compiled page.
| codePage | Pointer to codepage descriptor as CMCodepage structure. NQ uses only the 'id' field and ignores others. |
Conversion of Wide Characters string into Multi Byte.
| strMultiByte | Pointer to result multi byte string |
| strWideChar | Pointer to wide char string to convert |